package work20241202_chap5oop.b_oop;

/**
 * @author zdl
 * @date 2024/12/2
 */
class MyClass{
    int value;

    public MyClass(){}
    public MyClass(int value){}

}
public class Demo5{
    public static void main(String args[]){
        MyClass mc1 = new MyClass();
        MyClass mc2 = new MyClass(10);
        System.out.println(mc1.value);//0
        System.out.println(mc2.value);//0
    } }
